package com.ruoyi.repn.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 年报订单对象 rep_order
 * 
 * @author cpf
 * @date 2024-03-02
 */
public class RepOrder extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long id;

    /** 订单唯一编号 */
    @Excel(name = "订单编号",sort = 1)
    private String orderNo;

    /** 关联用户ID */
    private Long userId;

    /** 管理工商信息ID */
    @Excel(name = "年报编号",sort = 2)
    private Long repId;

    /** 服务套餐ID */
    private String packageId;

    /** 订单金额 */
    @Excel(name = "订单金额",sort = 10)
    private BigDecimal amount;

    /** 支付状态（0未支付，1已支付） */
    private Long payStatus;

    /** 订单状态（0未提交，1受理中，2已完成） */
    private Long status;

    /** 订单处理结果 */
    private String result;

    /** 冗余字段1 */
    private String backup1;

    /** 冗余字段2 */
    private String backup2;


    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setOrderNo(String orderNo) 
    {
        this.orderNo = orderNo;
    }

    public String getOrderNo() 
    {
        return orderNo;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }


    public Long getRepId() {
        return repId;
    }

    public void setRepId(Long repId) {
        this.repId = repId;
    }

    public void setPackageId(String packageId)
    {
        this.packageId = packageId;
    }

    public String getPackageId() 
    {
        return packageId;
    }
    public void setAmount(BigDecimal amount)
    {
        this.amount = amount;
    }

    public BigDecimal getAmount()
    {
        return amount;
    }
    public void setPayStatus(Long payStatus) 
    {
        this.payStatus = payStatus;
    }

    public Long getPayStatus() 
    {
        return payStatus;
    }
    public void setStatus(Long status) 
    {
        this.status = status;
    }

    public Long getStatus() 
    {
        return status;
    }
    public void setResult(String result) 
    {
        this.result = result;
    }

    public String getResult() 
    {
        return result;
    }
    public void setBackup1(String backup1) 
    {
        this.backup1 = backup1;
    }

    public String getBackup1() 
    {
        return backup1;
    }
    public void setBackup2(String backup2) 
    {
        this.backup2 = backup2;
    }

    public String getBackup2() 
    {
        return backup2;
    }


    @Override
    public String toString() {
        return "RepOrder{" +
                "id=" + id +
                ", orderNo='" + orderNo + '\'' +
                ", userId=" + userId +
                ", repId=" + repId +
                ", packageId='" + packageId + '\'' +
                ", amount=" + amount +
                ", payStatus=" + payStatus +
                ", status=" + status +
                ", result='" + result + '\'' +
                ", backup1='" + backup1 + '\'' +
                ", backup2='" + backup2 + '\'' +
                '}';
    }
}
